#pragma once
#include "gtest\gtest.h"
#include "binTreeNode.h"
class BinTreeTest: public ::testing::Test
{
public:
	BinTreeTest(void);
	~BinTreeTest(void);

protected:
	virtual void SetUp()
	{
		binTreeNode* pNode = new binTreeNode(80);
		binTreeNode* pLeft =0;
		binTreeNode* pRight = 0;
		pRoot = pNode;
		binTreeNode* pRightMost;
		for( int i = 0; i < 6 ; i = i + 2 )
		{
			pLeft = new binTreeNode(i);
			pRight = new binTreeNode(i + 1);
			pNode->setLeft( pLeft);
			pNode->setRight( pRight);
			pNode = pLeft;
			//if( pNode->val() ==  )
			//	pRightMost
		}
	}
	binTreeNode* pRoot;

};

